package com.itheima;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Catalog;

import java.util.List;

public interface CatalogService {
    PageInfo<Catalog> findByPage(int currPage, int pageSize);
    void save(Catalog catalog);
    Catalog findById(String id);
    void update(Catalog catalog);
    void delete(String[] ids);
    List<Catalog> findAll();
}
